package com.atguigu.ssyx.acl.mapper;

import com.atguigu.ssyx.model.acl.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 杨林
 * @create 2023-07-06 10:01 星期四
 * description:
 */
//@Mapper
@Repository
public interface RoleMapper extends BaseMapper<Role> {
    /**
     * 根据roleIds查询对应的Role
     * @param roleIds
     * @return
     */
    List<Role> selectRoleByIds(@Param("roleIds") List<Long> roleIds);
}
